package com.fyl.custom_spring.beans.factory;



import java.lang.reflect.InvocationTargetException;

/**
 * BeanFactory IOC容器父接口
 */
public interface BeanFactory {
    Object getBean(String name) throws ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException;
    <T> T getBean(String name, Class<?extends T> requiredType) throws ClassNotFoundException, InvocationTargetException, InstantiationException, IllegalAccessException, NoSuchMethodException;
}
